package com.sumer.beans.factory;

import com.sumer.beans.BeansException;

public interface BeanFactory {

    Object getBean(String beanName) throws BeansException;

    <T> T getBean(Class<T> requiredType) throws BeansException;

    <T> T getBean(String name, Class<T> requiredType) throws BeansException;

//    boolean containsBean(String name);
}
